﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Bymed.SpineScan.WPF.Model;
using Bymed.SpineScan.Service.Shared;
using Bymed.SpineScan.DataModel;

namespace Bymed.SpineScan.WPF.ViewModel.TestItemViewModel
{
    public class TestItemCervicalFlexionExtensionViewModel : SingleTestItemViewModel
    {
        /// <summary>
        /// Initializes a new instance of the TestItemCervicalFlexionExtensionViewModel class.
        /// </summary>
        public TestItemCervicalFlexionExtensionViewModel(IDataService dataService)
            : base(dataService) { }

        /// <summary>
        /// Initialize all necessary parameters.
        /// Is is invoked by base constructor.
        /// </summary>
        protected override void InitializeParameters()
        {
            TestItemTitle = "颈椎前屈后伸";
            TestItemName = TestItemDefinition.CervicalFlexExtTestName;
            FirstTestResultLabel = "前";
            SecondTestResultLabel = "后";
            FirstRangeStartValue = 0;
            SecondRangeStartValue = 0;
            FirstRangeEndValue = 45;
            SecondRangeEndValue = 45;
            FirstMaxValue = 90;
            SecondMaxValue = 90;
        }
    }
}
